home *** CD-ROM | disk | FTP | other *** search
/ Informática Multimedia 1995 April / Informatica Multimedia CD - Epimundo.iso / DOS / FMT_COPY / FORDSK / FORDSK.DOC < prev   
Encoding:
Text File  |  1987-12-14  |  7.7 KB  |  176 lines

  1.                                  FORDSK 1.10
  2.                          Copyright (c) 1987 Eric Tauck
  3.                               All Rights Reserved
  4.  
  5. FORDSK is a program that uses the routines in the ROM BIOS to format 5 1/4"
  6. 360K floppy diskettes on the IBM PC and compatibles.  Note that hard disks
  7. cannot be formatted, accidentally or otherwise.  Many options are provided to
  8. do fast formats and produce unusual (aka incompatible) disk layouts.  FORDSK
  9. cannot write the system files or volume labels.
  10.  
  11. FORDSK is run by typing:
  12.  
  13.   FORDSK [d:] [d:] [switches]
  14.  
  15. One or two drive specifiers may be present.  If two drive specifiers are
  16. entered, the format operation will be carried out twice, starting with the
  17. first drive and continuing with the second.  The switches control the
  18. formatting operation and the layout of the disk.  The switches, grouped by
  19. function, are:
  20.  
  21.   Type of format:
  22.  
  23.     /1  Single sided. Causes only one side of the disk to be formatted.  Only
  24.         half of the total disk capacity is available.  Compatible with all
  25.         versions of DOS.
  26.  
  27.     /8  8 sector, DOS 1.x format.  Produces disks that are compatible with
  28.         versions of DOS prior to 2.0.  Versions of DOS prior to 1.1 must also
  29.         be formatted on only one side (use the /1 switch).
  30.  
  31.     /r  Recycle disk.  Clears and rewrites the boot sector, FAT, and root
  32.         directory, but does not format the disk.  Since the directory is
  33.         cleared, any files on the disk will be lost.  Since the FAT is
  34.         cleared, the location of any bad sectors will be lost.  The verify
  35.         switch (/v) switch may be used to verify the disk and lock out any bad
  36.         sectors.  Note: the disk must be already formatted to use this option.
  37.  
  38.   Options:
  39.  
  40.     /b  Beep when done.  Causes the program to beep when a disk is finished.
  41.  
  42.     /e  Entire tracks marked bad.  When a bad sector is found, all other
  43.         sectors on that track will be marked bad in the FAT.  This switch
  44.         will, in most instances, lock out more disk space than necessary, but
  45.         might be safer (if bad sectors tend to corrupt adjoining sectors on
  46.         the same track).  The PC DOS 3.2 format program does it this way.
  47.  
  48.     /m  Multiple disks indefinitely.  Causes the program continuously format
  49.         disks.  Can only be stopped by an error or keyboard BREAK.
  50.  
  51.     /m# Multiple disks for count.  Causes the program to format a specified
  52.         number of disks.
  53.  
  54.     /p  Pause before each disk.  Causes the program to prompt the user and
  55.         wait for a key before starting on a disk.  If this switch is not used,
  56.         processing will start immediately.
  57.  
  58.     /v  Verify disk.  Verifies all sectors on the disk.  If a bad sector is
  59.         found, its cluster will be marked as bad in the FAT.  The /e option
  60.         indicates whether single sectors or entire tracks should be marked as
  61.         bad.
  62.  
  63.   Disk Layout:
  64.  
  65.     /c# Cluster size in sectors.  Default is 2 sectors per cluster.  DOS will
  66.         not accept any value other than 2.
  67.  
  68.     /d# Directory entries.  Default varies on the type of format, for double
  69.         sided / 9 sector disks the default is 112.  DOS might accept other
  70.         values.
  71.  
  72.     /f# FAT's per disk.  Default is 2.  DOS will not accept any value other
  73.         than 2.
  74.  
  75.     /h# Hidden sectors per disk.  Default is 0.  DOS will not recognize hidden
  76.         sectors.
  77.  
  78.     /s# Sectors per track.  Default is 9.  DOS will accept 8 or 9.  BIOS can
  79.         format with fewer, but I don't think it can properly format with more
  80.         than 9.
  81.  
  82.     /t# Tracks per disk.  Default is 40.  DOS might accept more or less.  BIOS
  83.         can format less and might be able to format a few more than 40
  84.  
  85.     /u  Use system parameters.  Causes the program to read the number of
  86.         sectors/track and bytes/sector from the disk base pointer (interrupt
  87.         1E).  This is not usually a good idea, because my experience is that
  88.         DOS changes that information whenever it accesses a new disk type,
  89.         thus the information may not be valid.
  90.  
  91. Though all the disk layout information is written to the disk, there is no
  92. guarantee that DOS will be able to read non-standard disks.  Any deviation
  93. from the standard layout is very likely to produce unreadable disks.
  94.  
  95. Examples of command line specifications:
  96.  
  97.   FORDSK
  98.     Formats the diskette in the default drive after prompting the user and
  99.     waiting for a key (/p is implicit if no drives or options are specified).
  100.  
  101.   FORDSK ?
  102.     Display all the command syntax and a listing of the switches.  No
  103.     formatting occurs.
  104.  
  105.   FORDSK a: /v
  106.     Formats and verifies the diskette in drive A: immediately.
  107.  
  108.   FORDSK b: a: /8 /1 /p
  109.     Formats the diskette in drive B: and then the diskette in drive A:, after
  110.     prompting the user and waiting for a key to be pressed.  Both disks will
  111.     be 1 sided, 8 sector, DOS 1.0 compatible.
  112.  
  113.   FORDSK a: b: /m10
  114.     Formats the diskettes in drive A: and B:, alternating between the two and
  115.     starting with drive A:.  All formatting starts immediately without pausing
  116.     or waiting for the user.  This is a particularly useful combination of
  117.     options, because you can be inserting an unformatted disk in one drive
  118.     while FORDSK is formatting in the other drive.
  119.  
  120.   FORDSK a: /d16 /t42
  121.     Formats the diskette in drive A: with 16 root directory entries (normal is
  122.     112) and 42 tracks (normal is 40).  Specifying only 16 directory entries
  123.     means that only one sector of the disk is needed for the directory, rather
  124.     than the normal 7.  DOS leaves a few free tracks, so usually formatting
  125.     with a few extra tracks works okay.  These options should make more disk
  126.     space available, and indeed, the PC DOS 3.2 CHKDSK program says:
  127.  
  128.       384000 bytes total disk space
  129.       384000 bytes available on disk
  130.  
  131.       655360 bytes total memory
  132.       260208 bytes free
  133.  
  134.     This is an increase in usable disk disk space of about 20000 bytes.
  135.     Unfortunately this is highly non-standard and probably won't work with all
  136.     versions of DOS.
  137.  
  138. Eric Tauck [72457,1557]
  139.  
  140.  
  141.  
  142.          ----------------end-of-author's-documentation---------------
  143.  
  144.                         Software Library Information:
  145.  
  146.                    This disk copy provided as a service of
  147.  
  148.                         The Public (Software) Library
  149.  
  150.          We are not the authors of this program, nor are we associated
  151.          with the author in any way other than as a distributor of the
  152.          program in accordance with the author's terms of distribution.
  153.  
  154.          Please direct shareware payments and specific questions about
  155.          this program to the author of the program, whose name appears
  156.          elsewhere in  this documentation. If you have trouble getting
  157.          in touch with the author,  we will do whatever we can to help
  158.          you with your questions. All programs have been tested and do
  159.          run.  To report problems,  please use the form that is in the
  160.          file PROBLEM.DOC on many of our disks or in other written for-
  161.          mat with screen printouts, if possible.  The P(s)L cannot de-
  162.          bug programs over the telephone.
  163.  
  164.          Disks in the P(s)L are updated monthly, so if you did not get
  165.          this disk  directly from the P(s)L,  you should be aware that
  166.          the files in this set may no  longer be the current versions.
  167.  
  168.          For a copy of the latest monthly software library newsletter
  169.          and a list of the 1,000+ disks in the library, call or write
  170.  
  171.                         The Public (Software) Library
  172.                               P.O.Box 35705 - F
  173.                            Houston, TX 77235-5705
  174.                       (713) 721-6104 or (713) 721-5205
  175.  
  176.